﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace com.bm.facade
{
    [ServiceContract]
    public interface IOperationFacade
    {
        [OperationContract]
        OrderService.Order CreateAndCalcQuote(String name, String email, String[] parts, baySize size);

        [OperationContract]
        OrderService.Order UpdateOrderAndReservePartsBay(OrderService.Order order);

        [OperationContract]
        OrderService.Order getOrderByID(int id);

        [OperationContract]
        OrderService.Order rejectQuote(int id);

        [OperationContract]
        OrderService.Order cancelOrderByID(int id);
    }

    public enum baySize{
    
        S, 
        M,
        L
    };
}
